package DAY1;

class DEMO2{
	public static void main(String [] args){

	StringBuffer a= new StringBuffer("A");
	StringBuffer b= new StringBuffer("B");
	operator(a,b);
		System.out.println(a+","+b);
}
   public static void  operator(StringBuffer x,StringBuffer y)
  {
	   y=x;           	
		x.append(y);   
		System.out.println(x+","+y);
  }
}

